Defined what a Search is and implementes a Breadth-First Search