Filled in a generic binary search method and added a template method and constructor in LinkedList