final before code review submission

all stats finished; methods divided/shortened; repeat loops working
correctly
edited version for codereview