Added invite accept and leave function
Merge branch 'master' of https://github.com/jbossen/P3-Program