javascript application that teaches graph algorithms