Square

Checks if a number is a square.

square?(Integer)

Given an integer n, it is a square if there exist some integer a such that n equals a squared. If the input is a square returns a, otherwise it returns false.