Initial commit, solution to hw1, two threads