You could have used single characters to represent the cell content (like: "p" for player; " " for empty cells; "s" for spaces; "x" for solidblocks; and "b" for breakbricks Then code the grid as follows:
This is easy enough to iterate through to prepare the layout of the world and, as an added benefit, displays in the editor like the layout.
String[] grid = { "psb ", "sx x x x x x x x x x x x x x x x x ", "b ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " ", " x x x x x x x x x x x x x x x x x ", " " };