Added assignment2 basic version