fixed srand

seeded random # with system time, changed console output.