Updated dice function

Added support to print out doubbles