Added basic analytical tools

Create a similarity function to compare to users and another to find a
user’s most similar user.