shortened test command
added solutions for problem 5
added solution for problem 6