implemented basic report generation
Added utility function for rounding a number to required number of decimal places