find product of three greatest integers
changed puts to return, and added explanation