pythons capitalize implemented in C
some more functions