Learning by Demonstration for a Collaborative Planning Environment