Made areDifferentCollors more compact

and added constructor for player class