Java Scanner Detect Enter Key