debugged program, still need to program the random # generator
bug free?