Added join command

Tweaked things in Teams.java and made things more efficient