Removed denial of empty string before even testing the language because the algorithm handles that anyways