Wrote engine, added test folder. TODO: Add testing.