Implementing Logic Gates in DNA Crystal Engineering