Added find a square solution