Added main() method to Player() and formatted.