Create linearSearch.scala