Hs,
Asking for someone to write your code for you at no charge is a bit presumptive isn't it. If you want guidance on how
YOU can write the code, that's what we are here for. But please don't ask us to write the code for you (unless of course you are offering to hire us at our prevailing hourly rates).