Moved input into Shape class;
Added support for double to MyScanner
Added comments