Extended main.cpp to create a small window

Extended main.cpp to create a small window
    src/main.cpp