add room function
Merge pull request #13 from ryanlee0/master

add room function