Added Substitution functionality, base case. Still need to add validations for subbing by positions