small logic changes
started implementing CPU, still broken