FREESCO: Statistical event generator for nuclear collisions