Assignment 1 Search Solution