Good advice so far, but I want to add that you will likely not be able to simply purchase 1 1/2" x 1 1/2" material off the shelf. Some lumber yards will be able to mill the wood to your specific dimensions (for a price), but in most cases, you should anticipate needing to mill it to those dimensions yourself.