Added program that uses ldelem and implement it.