For testing and completing the homework for EE 324