Added solutions through problem #10 and added some helper functions