Furthered the javascript code and worked on maxing out the numbers of guesses at 6, still need to break or end the loop though