With a given integral number n, write a function to generate a dictionary that contains (i, i*i) such that is an integral number between 1 and n (both included).
- Define function 'squareOfNumbers' which will accept number argument.
- Number should not be less than 0 and should not be grater than 100.
- Calculate square of all number from 1 to n and store in dict.
- Function should pass all test cases.