Assignment Program 2 - X pattern