adding challenge 8
just a little code cleanup
finished challenge 8