this is my first post on here so if this is redundant or anything I apologize. My issue here is that my code runs perfectly fine and does what I want in Intellij, but not in