Codes for Basic Computer Science lab