First stab at adding search_worst() function