added Board class
refactored to Board class
refactored Board to use location hashcode; updated the hashcode of Location to be unique
updated Location's equals method to override Object.equals