add cosineSim.java
add more similarity method