solved 006 and 007, wrote prime_sequence, prime_term