Welcome to Stack Overflow. SO is not a free coding or homework completion service. Open letter to students with homework problems and How to ask homework questions: Make a genuine attempt yourself, show your code, ask a specific question. — kaylum 36 secs ago