printing square numbers from an entered numbeer