Finished functionality on the playMatch method