Coderbyte challenges: my solutions