The rules do state that you can't use anything premade, but you can always rewrite the code from your previous projects as long as it isn't simply a copy&paste
How will you if we copy and pasted code?