Enabled dynamic resizing of sketch

Use resizeWindow(int window_width, int window_height) to update the
size of the window.
Fixing semicolon