How to call the method, can anyone help in Square of 5 program