Moved histogram to its own file.