start debug message added to check values before start
added boardlength property
changed creation of board, so it works with new property boardlength