Added LCA and RMQ sample implementations