Added regex check in Algorithm and UnsupportedCharacterException, updated SConstruct