Split up locate and split methods in the list
Split up locate and split methods in the list
Added tests for splitting method