solved 2 coderbyte problems