Updated array_core_extensions and board to be more ruby idiomatic