add solution to assignment 3 - hist