Virtual element implementation for general elliptic equations