Fixes to Modules and patterns homework