Get nextBlock working
Fix bug in Block constructor