modified selectBlock, createNode and removeNode into musicBlock prototype functions
modified removeBlock function to musicBlock prototype function
musicblock related functions updated to prototype functions