if string is less than 3 characters it cannot contain bad
Works for the first case
Also works if it is at index 1
Works for most cases except for 3 letters that don't contain bad
All tests pass
Codingbat's shorter solution
Started on atFirst problem
Prints out an @ if string is empty
Works for normal words greater than 2 characters long
All tests pass