Implemented findLocus and started to implement addTerm