Update Fried-Nathan-Project2.js

Added Procedure and other tweaks