Lectures on knot invariants