Update linearsearch.java cleaning up