This is not a homework factory. Pay attention in class. If you make a serious stab at it and post troublesome code here, people will be glad to try and help.