Motion Planning for Humanoid Robots