started histogram program (not working by now)