Assignment 2 for Web2 Class