Perfect square using multiplication