Added section on type() function usage to readme