No it's not good. Doing his homework for him is NOT good. It's called cheating, something we try to avoid on these forums.
Just thought it would be easier if i show the guy how its done and then if he really likes what hes doing, he would try and understand how i did that himself. But yeah, i get the point, it was stupid of me to do it for him, thanks for informing me. :)