Assignment 1 (A1) Search Solution