HAN Advanced Programming assignment