Converted Board object to use HashMap

Converted Board object to use HashMap instead of ArrayList for easier
use.