added a function to calculate the square of an integer
sqr(int) function added to return the square of an integer
save and load functions tested and fixed