Add initial PENCIL stdlib

Functions used in CARP-Benchmarks