library: Example for static and shared lib

Shared and static library explained in same program