Memory subscript operator access

Pulled mem branch subscript operator overload into branch cpu, so that it's available when doing cpu branch work