Cleaned up broadcast method, fixed a println, added javadoc