almost there

some logic error on fines and last test case not printing