Assignment 12-1 Finally got it all working...