Add sample program for static variable