Finished problem 10, it was awesome to reuse my code :)