Foundmental of Programming Language Homework