Part of assignment one of week 2.