Added z-index function.
Z-index fuction and push to github.