A simple number guessing game made with javascript