Slight additions in design to SearchAlgorithm