Assignment for 2nd year C module at Aberystwyth