first function and variables

added variables for weapons and added first function