ninety-nine: Add tail recursive problem 4

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