Dude, first, I like to say that for the effort of learning something that is not taught and producing it is good! I give you credit for it!
But look at it as a learning experience, sure, you got screwed, but this will prepare you. when you come out to work next time, do presentation, you will get 10 times more sh*t, you get screwed until u got no backside. Sad but true.
On ur lecturer, qns on the coding, basically, this is what I will do also. Do you know how easy is to get free codes, dump it inside your program? Or paying some free-lance programmer to get the project done. (One of my friends, last time in poly, paid a free-lancer to do their software project

)
Put urself in ur lecturer's shoes, you got a class of students, how many of them actually did work? How many actually understand what is in the program, how the program work? How can you know these answers? Simple, you ask them directly one by one, until they give you a statisfactory answer.