Exercise 43 and 44

Signed-off-by: Salil Kanitkar <slashforu@gmail.com>