Added resizing

Added a scale factor so the program doesn't treat tiles as absolute
positions