code related to the homework projects