Basic logic for objects

Based on tuples, implement a basic `==` and `$`.