decode

fun decode(encoded: String): Board