Update answer and source codes.
Finished the first question and its coding. The leftovers shall be
finished within the weekdays.
TODO: Keep track of the "money transfer" because you have to pay for
your tuition here at Masdar. God bless me that I can keep "sneaking" in
my, well, $HOME.