Problem with a custom library

Read this before posting a programming question

Code tags. What errors?