Minor error fix and formatting change

Removed some extra whitespace and fixed part of the function that
handles community chest cards