Added demonstration code for input

Added code in main.cpp for new part of the C++ with Qt tutorial focused
on basic input functions, including an introduction to variables.