added unittests for the oned_robot problem
added solution for the oned_robot problem