Practice problems from eloquent javascript