my assignment solutions for ECSE-543