Adding message container
Creating index2coord and coord2index methods
Code cleanup
Add end-of-game implementation