Added patterns example homework