Removed all warnings, flawless program now