Simulation studies of beam dynamics in 50 MeV linear accelerator with laser-plasma electron gun