A parser for NeuroSky serial data written in Java