fixed typo
made variables uppercase
made variables uppercase
right usage of integer variables
removed unnecessary stuff
my coding style