dropped optional parenthesis
added factoring benchmark
made accumulator less fancy
added scala solution for problem 3