added preload

Added code for preloading images even though it's not part of tutorial
1, but will be coverd in tutorial 2, because if it is missing you have
to refresh the browser to se the images drawn to the canvas.