Create square number judgement