[102] Yu Yan & Gong Ming: fix the delete function and refactor.
Merge branch 'master' of github.com:freddie218/bbs_team_a