Starting with special case

printing out what I want when side length is equal to 1 or 2