Upload 1st batch: Some generic code + code for problems 1-20.