CS247 Assignment Number 2