Second commit after changing histogram to frequency chart. Also removed print(plot) commands.