High quality code homework