Finished HW1

Modified the given template, added a few signals and slots widgets (with
a few supporting functions), and document the very, very basic code.