Lecture for INF226 @ UiB