programmer's submissions in CSCI120 2023S2 Midterm 2