added memset implementation
stable version..
Merge branch 'master' into stable