add swapcase option
Merge branch 'master' of https://github.com/HanwenZheng/lab6