Implemented canBeScheduled. Reimplemented getFirstConflictingInstruction and schedule. Debugging.
Some debug