Create q5 file.
Take inputs from console.
Add special cases for the edit distance
Fix array bounds.