Added ability to supply two teams and made generic print function for testing