Programming homework for university