Programming Assignment 2 (sent by Andreas)