Update Roberts_Dwain_Assignment4.js

third function added