Closes #2: Added method int sqr(int x)