completed c basis tutorial