Device taps brain waves to help paralyzed man communicate