Update HereshkoJohn_assignment2.js

Added confirm, Boolean function, While loop