changed method to read/pass board configuration into dictionary