Added function to generate random Int

Implemented random Integer generator for randomising the x and y
position of the character and goal.
Added randomisation for both the character and background when the user
launch the program