#5: Implemented FormatString validation

Still needs some testing and comments though