ninety-nine: Add problems 9 and 10

Signed-off-by: Aleksi Pitkäjärvi <aleksi.pitkajarvi@aalto.fi>