ASSIGNMENT #1 Solution