Implemented random restart hill climbing and wrote a test for it