Codes written as a part of CS C372