Creating rank1.py

rank1.py contains cosine_similarity ranking
rank0.py contains just the startup code provided by TAs