define the function get data. the function shall read the given file (i.e. data.json) and return a dictionary object containing probabilities and coefficients for generating a number of shapes.