Controlling robotic arm via brainwaves