rewrite by the algorithm using stack
add the brute algorithm I used in class
Merge pull request #335 from SiuTo/master

13307130319_LIANGXIAOTAO_assignment5