Added procedure to retrieve the lock value

I simply could not bear to do without it..

Modified: README.md
Modified: src/pointer-stack.c
Modified: src/pointer-stack.h