Finished adding comments and fixed small errors in code