Assignment 2.1a _pattern