I just downloaded the file again and somehow now the formatting is correct.
I've still got a problem.
I did the following steps:

gcc -c -ggdb -std=c99 cs50.c -o cs50.o
ar rcs libcs50.a cs50.o
rm -f cs50.o



But now I'm stuck on these two:

cp cs50.h /usr/local/include
cp libcs50.a /usr/local/lib


I get the permission denied error.
So is there any other way of getting the cs50 library into a program? I mentioned before, I'm working on a public UNIX system so I don't think I have permission to change anything other than my home folder.