User-proofing the ability function

Used a stringstream for string to int conversion with the getline
command. cin >> is very prone to error. For example, accidentally
putting in a letter before would make the program either crash or go
into an infinite loop.
Merge branch 'master' of https://github.com/Cireminer/GSP362-GroupProject

Conflicts:
	Merged Project/CommandFunctions.cpp