init commit after refactor
add syncMachine func
add SyncCluster feature
add sendRequest to wrap get, post request and internal redirection
update testandset command
update test file
when redirect, update leader
automatically switch other machines in the cluster if the current leader dies
Merge pull request #5 from xiangli-cmu/master

automatically switch other machines