First test. Rough code, makes a histogram