Supplied requested answers in simplified form, including some test cases