Working "Wait" Function

added in wait function, takes in seconds as parameter
#blatchblatchblatch