Electrostatic waves in an electron-beam plasma system