INF226 Assignment 2