Added serializeArray to Json, serialize() in Board

Implemented a new method in Json that will take an array of either
arrays, Stacks or objects and serializes them all(as long as they
implement Serializable).
implemented serialize() in board.
Changed Cell’s serialize() to use Json.serializeArray()