I am not sure what you expect in a reply to this, but I'd suggest laying out some code, breaking the problems down, and posting defined questions with any related errors. Suggested reading: How to...