Added problem5 to lab1 in Algorithm Theory

Not finished problem 5 yet, but implemented Thompson's algorithm to
transform NFA into DFA