Simple JavaScript relationship status checker made using classic 'FLAMES' word game algorithm