To Print Square Of A Number Algorithm