Fixed improper comparison of ints and floats.

Fixed Squares example.