Implemented isSorted with tail-recursion
Implemented findFirst using tail-recursion and commented out some older stuff (not necessarily needed)